package com.mdd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mdd.dto.DishDto;
import com.mdd.pojo.Dish;

import java.util.List;


public interface DishService extends IService<Dish> {

    public void saveDish(DishDto dishDto);

    public DishDto getByIdWithFlavor(Long id);

    public void updateDish(DishDto dishDto);

    public void deleteDishAndFlavor(List<Long> ids);

    public boolean updateDishStatus(int status,List<Long> ids);
}
